{
  "info": {
    "_postman_id": "e4804390-a06f-47cb-9b61-a514c0126044",
    "name": "TKE CUSTOMER API (Variables needed) - PRD EA",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "5326443"
  },
  "item": [
    {
      "name": "Auth",
      "item": [
        {
          "name": "GetToken",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "// Extrai o token do body\r",
                  "let jsonData = pm.response.json();\r",
                  "let token = jsonData.access_token;\r",
                  "\r",
                  "// Salva como variável da collection\r",
                  "pm.collectionVariables.set(\"access_token\", token);\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            },
            {
              "listen": "prerequest",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "grant_type",
                  "value": "password",
                  "type": "text",
                  "uuid": "629e1714-579a-43af-881a-a91624abbcc7"
                },
                {
                  "key": "username",
                  "value": "{{auth_username}}",
                  "description": "email (developer portal user)",
                  "type": "text",
                  "uuid": "abddeaab-9985-466d-a610-97ea8449c62b"
                },
                {
                  "key": "password",
                  "value": "{{auth_password}}",
                  "description": "password (developer portal password)",
                  "type": "text",
                  "uuid": "b8dd72ea-603a-4a4a-9d31-95a1963c7b82"
                },
                {
                  "key": "client_id",
                  "value": "{{auth_client_id}}",
                  "type": "text",
                  "uuid": "0cb8f776-c21d-40c2-b478-869f026efffa"
                },
                {
                  "key": "scope",
                  "value": "{{auth_scope}}",
                  "type": "text",
                  "uuid": "57020b95-6fe1-4dc3-8a51-70ca5f4065f6"
                }
              ]
            },
            "url": {
              "raw": "https://maxcustomerportal.b2clogin.com/maxcustomerportal.onmicrosoft.com/B2C_1_ROPC/oauth2/v2.0/token",
              "protocol": "https",
              "host": [
                "maxcustomerportal",
                "b2clogin",
                "com"
              ],
              "path": [
                "maxcustomerportal.onmicrosoft.com",
                "B2C_1_ROPC",
                "oauth2",
                "v2.0",
                "token"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Building API (groups 3,4)",
      "item": [
        {
          "name": "Building API -  Building Layout",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_elevator_calls_app}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/building/{{tenantId}}/{{branchNumber}}/{{buildingId}}/?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "building",
                "{{tenantId}}",
                "{{branchNumber}}",
                "{{buildingId}}",
                ""
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Realtime API (groups 3,4)",
      "item": [
        {
          "name": "Realtime API -  Elevator Position",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "\r",
                  "pm.test(\"Response status code is 200\", function () {\r",
                  "    pm.expect(pm.response.code).to.eql(200);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "/*pm.test(\"Response time is less than 1000ms\", function () {\r",
                  "    pm.expect(pm.response.responseTime).to.be.below(1000);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Response has required fields\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.be.an('object');\r",
                  "    pm.expect(responseData).to.have.all.keys('correlationId', 'payload', 'sentTo', 'statusCode', 'statusMessage');\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Payload is a valid JSON string\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.be.an('object');\r",
                  "    pm.expect(responseData.payload).to.exist;\r",
                  "    pm.expect(() => JSON.parse(responseData.payload)).to.not.throw(\"Payload should be a valid JSON string\");\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Status code is a non-negative integer\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.have.property('equipmentStatus').that.is.a('string').and.is.at.least(0);\r",
                  "});*/"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_elevator_calls_app}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/realtime/state/{{deviceId}}/car?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "realtime",
                "state",
                "{{deviceId}}",
                "car"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "MAX Touchless Command API (groups 3,4)",
      "item": [
        {
          "name": "Call",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "//let jsonData = pm.response.json();\r",
                  "//let varcorrelationId = jsonData.correlationId;\r",
                  "//pm.collectionVariables.set(\"CallcorrelationId\", varcorrelationId);\r",
                  "\r",
                  "\r",
                  "// Primeiro, obter o campo 'payload' da resposta\r",
                  "let response = pm.response.json();\r",
                  "let rawPayload = response.payload;\r",
                  "\r",
                  "// Converter o payload de string para objeto JSON\r",
                  "let parsedPayload = JSON.parse(rawPayload);\r",
                  "\r",
                  "// Extrair o correlationId\r",
                  "let correlationId = parsedPayload.correlationId;\r",
                  "\r",
                  "// Exibir no console do Postman\r",
                  "//console.log(\"Correlation ID:\", correlationId);\r",
                  "\r",
                  "// Armazenar como variável global ou de ambiente, se necessário\r",
                  "//pm.environment.set(\"correlationId\", correlationId);\r",
                  "pm.collectionVariables.set(\"CallcorrelationId\", correlationId);\r",
                  "\r",
                  "pm.test(\"Response status code is 200\", function () {\r",
                  "    pm.expect(pm.response.code).to.eql(200);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Response time is less than 3000ms\", function () {\r",
                  "    pm.expect(pm.response.responseTime).to.be.below(3000);\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Response has required fields\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.be.an('object');\r",
                  "    pm.expect(responseData).to.have.all.keys('correlationId', 'payload', 'sentTo', 'statusCode', 'statusMessage');\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Payload is a valid JSON string\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.be.an('object');\r",
                  "    pm.expect(responseData.payload).to.exist;\r",
                  "    pm.expect(() => JSON.parse(responseData.payload)).to.not.throw(\"Payload should be a valid JSON string\");\r",
                  "});\r",
                  "\r",
                  "\r",
                  "pm.test(\"Status code is a non-negative integer\", function () {\r",
                  "    const responseData = pm.response.json();\r",
                  "    \r",
                  "    pm.expect(responseData).to.have.property('statusCode').that.is.a('number').and.is.at.least(0);\r",
                  "});\r",
                  "\r",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_elevator_calls_app}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   //\"fromStop\": 4, //The starting floor number, which should be a multiple of 4\r\n    \"toStop\": 4, //The destination floor number, which should also be a multiple of 4\r\n    \"callType\": 0, //0 - Car Call 1 - Hall Call 2 - Destination Call\r\n    //\"callDirection\": 0, //0 - Up 1 - Down 2 - Both\r\n    \"callerLatitude\": 33.88627, //The latitude of the caller's location\r\n    \"callerLongitude\": -84.4696 //The longitude of the caller's location\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/touchless-command/{{tenantId}}/{{deviceId}}/call?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "touchless-command",
                "{{tenantId}}",
                "{{deviceId}}",
                "call"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Assigned car",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_elevator_calls_app}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/touchless-command/{{tenantId}}/{{deviceId}}/call/{{CallcorrelationId}}?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "touchless-command",
                "{{tenantId}}",
                "{{deviceId}}",
                "call",
                "{{CallcorrelationId}}"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Equipment API (all groups)",
      "item": [
        {
          "name": "Equipment API - Gets a list AssetActiveMasterDto",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/equipment/?contractNumbers&nicknameFilter&addressFilter&cityFilter&unitIdFilter&contractNumberFilter&branchFilter&statusFilter&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "equipment",
                ""
              ],
              "query": [
                {
                  "key": "contractNumbers",
                  "value": null
                },
                {
                  "key": "nicknameFilter",
                  "value": null
                },
                {
                  "key": "addressFilter",
                  "value": null
                },
                {
                  "key": "cityFilter",
                  "value": null
                },
                {
                  "key": "unitIdFilter",
                  "value": null
                },
                {
                  "key": "contractNumberFilter",
                  "value": null
                },
                {
                  "key": "branchFilter",
                  "value": null
                },
                {
                  "key": "statusFilter",
                  "value": null
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Equipment API - Gets a single AssetActiveMasterDto",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/equipment/{{tenantId}}/{{unitId}}?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "equipment",
                "{{tenantId}}",
                "{{unitId}}"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Equipment API - Gets the count of available equipments matching the provided filter options",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/equipment/count?contractNumbers&nicknameFilter&addressFilter&cityFilter&unitIdFilter&contractNumberFilter&branchFilter&statusFilter&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "equipment",
                "count"
              ],
              "query": [
                {
                  "key": "contractNumbers",
                  "value": null
                },
                {
                  "key": "nicknameFilter",
                  "value": null
                },
                {
                  "key": "addressFilter",
                  "value": null
                },
                {
                  "key": "cityFilter",
                  "value": null
                },
                {
                  "key": "unitIdFilter",
                  "value": null
                },
                {
                  "key": "contractNumberFilter",
                  "value": null
                },
                {
                  "key": "branchFilter",
                  "value": null
                },
                {
                  "key": "statusFilter",
                  "value": null
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Service Record API (all groups)",
      "item": [
        {
          "name": "Service Record API - Gets a list of OPEN service records matching the provided filter options.",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [\"{{unitId}}\"]\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/service-record/open?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "service-record",
                "open"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Service Record API - Gets a list of service records matching the provided filter options",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"currentFrom\": \"{{dateFrom}}\",\r\n    \"currentTo\": \"{{dateTo}}\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"ticketStatus\": \"Closed\",\r\n    \"unitIds\": [\"{{unitId}}\"]\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/service-record?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "service-record"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Service Request API (all groups)",
      "item": [
        {
          "name": "Service Request API - Creates and completes the given request asynchronous.",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_equipment_service_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"contractNumber\": \"{{contractNumber}}\",\r\n    \"description\": \"Ticket description\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitId\": \"{{unitId}}\",\r\n    \"email\": \"{{auth_username}}\",\r\n    \"groupId\": 0,\r\n    \"cultureName\": \"{{cultureName}}\",\r\n    \"purchaseOrderNumber\": \"{{purchaseOrderNumber}}\",\r\n    \"initiatorPhoneNumber\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/service-request/?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "service-request",
                ""
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Event API (groups 2,3,4)",
      "item": [
        {
          "name": "Event API - Events",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{environment}}/events/{{tenantId}}/{{unitId}}?fromUtcTime&toUtcTime&take&skip&eventId&eventTypeFilter&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "events",
                "{{tenantId}}",
                "{{unitId}}"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": null
                },
                {
                  "key": "toUtcTime",
                  "value": null
                },
                {
                  "key": "take",
                  "value": null
                },
                {
                  "key": "skip",
                  "value": null
                },
                {
                  "key": "eventId",
                  "value": null
                },
                {
                  "key": "eventTypeFilter",
                  "value": null
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "MAX Elevator Statistics API (groups 2,3,4)",
      "item": [
        {
          "name": "MAX Elevator Statistics API - Gets day of the unit's last update",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}]\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/lastupdate?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "lastupdate"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the amount of traveled TRIPS",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"day\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/trips?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "trips"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the availability",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"year\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/availability?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "availability"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the equipment status counter",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"month\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/equipmentStatusCounter?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "equipmentStatusCounter"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the duration time after a call",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": true,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"day\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/callDurationTime?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "callDurationTime"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the fault distribution",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": true,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"day\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/faultDistribution?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "faultDistribution"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the number of calls",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"year\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/calls?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "calls"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the number of Car Calls",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"YEAR\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/carcalls?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "carcalls"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the number of door movements in total",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"YEAR\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/totalDoorMovements?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "totalDoorMovements"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the number of door movements separated by the door side",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"YEAR\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/doorMovementThroughput?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "doorMovementThroughput"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the number of relevels",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n   // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"YEAR\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/relevels?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "relevels"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the operating time operational",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"day\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/operationalCounter?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "operationalCounter"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the time to destination of the corresponding device",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"day\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/databricks/timetodestination?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "databricks",
                "timetodestination"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the Transit Time of the corresponding device",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    // \"consideredFloors\": \"1\",//Necessary to have the floor ID from DSC\r\n    \"returnAverage\": false,\r\n    \"aggregation\": \"day\",\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/databricks/transittime?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "databricks",
                "transittime"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the Waiting Time the corresponding device",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"consideredFloors\": \"\",\r\n    \"returnAverage\": false,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"day\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/databricks/waitingtime?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "databricks",
                "waitingtime"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the trip distance",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n   // \"consideredFloors\": \"\",\r\n    \"returnAverage\": false,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"month\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/tripDistance?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "tripDistance"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the trip duration",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n    \"consideredFloors\": \"\",\r\n    \"returnAverage\": false,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"month\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/tripDuration?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "tripDuration"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Elevator Statistics API - Gets the wait time after a call",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{    \r\n  //  \"consideredFloors\": \"\",\r\n    \"returnAverage\": false,//use FALSE to have te result in HOURS. Use TRUE to have de result in Seconds\r\n    \"aggregation\": \"month\", \r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"FillWithZero\",\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"unitIds\": [{{unitId}}],\r\n    \"regions\": \"\",\r\n    \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/elevator-statistics/max/elevator/callWaitTime?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "elevator-statistics",
                "max",
                "elevator",
                "callWaitTime"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "MAX Escalator Statistics API (groups 2,3,4)",
      "item": [
        {
          "name": "MAX Escalator Statistics API - Gets the availability (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"consideredFloors\": null,\r\n  \"returnAverage\": false,\r\n  \"aggregation\": \"Day\",\r\n  \"dateFrom\": \"{{dateFrom}}\",\r\n  \"dateTo\": \"{{dateTo}}\",\r\n  \"gapFillingBehaviour\": \"FillWithZero\",\r\n  \"tenantId\": \"{{tenantId}}\",\r\n  \"unitIds\": [\"{{unitId}}\"],\r\n  \"regions\": \"\",\r\n  \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/max/escalator/availability?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "max",
                "escalator",
                "availability"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the average startings per day (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"tenantIds\": [\"{{tenantId}}\"],\r\n    \"unitIds\": [\"{{unitId}}\"],\r\n    \"regions\": [],\r\n    \"branches\": [],\r\n    \"ignoreTeleserviceUnits\": true,\r\n    \"ignoreZeroEvents\": true,\r\n    \"controllerTypes\": [],\r\n    \"controllerSoftwareVersions\": [],\r\n    \"maxSoftwareVersions\": [],\r\n    \"errorWeight\": 0,\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"NoFill\",\r\n    \"aggregation\": \"Raw\",\r\n    \"callCategory\": \"\",\r\n    \"drillDownKey\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/databricks/averageStartingsPerDay?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "databricks",
                "averageStartingsPerDay"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the fault distribution (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"consideredFloors\": null,\r\n  \"returnAverage\": false,\r\n  \"aggregation\": \"Day\",\r\n  \"dateFrom\": \"{{dateFrom}}\",\r\n  \"dateTo\": \"{{dateTo}}\",\r\n  \"gapFillingBehaviour\": \"FillWithZero\",\r\n  \"tenantId\": \"{{tenantId}}\",\r\n  \"unitIds\": [\"{{unitId}}\"],\r\n  \"regions\": \"\",\r\n  \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/max/escalator/faultDistribution?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "max",
                "escalator",
                "faultDistribution"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the people count for the given escalators (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"consideredFloors\": null,\r\n  \"returnAverage\": false,\r\n  \"aggregation\": \"Day\",\r\n  \"dateFrom\": \"{{dateFrom}}\",\r\n  \"dateTo\": \"{{dateTo}}\",\r\n  \"gapFillingBehaviour\": \"FillWithZero\",\r\n  \"tenantId\": \"{{tenantId}}\",\r\n  \"unitIds\": [\"{{unitId}}\"],\r\n  \"regions\": \"\",\r\n  \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/max/escalator/peoplecounter?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "max",
                "escalator",
                "peoplecounter"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the reactive power consumption (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"tenantIds\": [\"{{tenantId}}\"],\r\n    \"unitIds\": [\"{{unitId}}\"],\r\n    \"regions\": [],\r\n    \"branches\": [],\r\n    \"ignoreTeleserviceUnits\": true,\r\n    \"ignoreZeroEvents\": true,\r\n    \"controllerTypes\": [],\r\n    \"controllerSoftwareVersions\": [],\r\n    \"maxSoftwareVersions\": [],\r\n    \"errorWeight\": 0,\r\n    \"dateFrom\": \"{{dateFrom}}\",\r\n    \"dateTo\": \"{{dateTo}}\",\r\n    \"gapFillingBehaviour\": \"NoFill\",\r\n    \"aggregation\": \"Raw\",\r\n    \"callCategory\": \"\",\r\n    \"drillDownKey\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/databricks/reactivePowerConsumption?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "databricks",
                "reactivePowerConsumption"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the status durations of the corresponding escalator (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"consideredFloors\": null,\r\n  \"returnAverage\": false,\r\n  \"aggregation\": \"Day\",\r\n  \"dateFrom\": \"{{dateFrom}}\",\r\n  \"dateTo\": \"{{dateTo}}\",\r\n  \"gapFillingBehaviour\": \"FillWithZero\",\r\n  \"tenantId\": \"{{tenantId}}\",\r\n  \"unitIds\": [\"{{unitId}}\"],\r\n  \"regions\": \"\",\r\n  \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/max/escalator/status/duration?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "max",
                "escalator",
                "status",
                "duration"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "MAX Escalator Statistics API - Gets the statuses (including their counts) for the given escalators (via a POST operation).",
          "protocolProfileBehavior": {
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"consideredFloors\": null,\r\n  \"returnAverage\": false,\r\n  \"aggregation\": \"Day\",\r\n  \"dateFrom\": \"{{dateFrom}}\",\r\n  \"dateTo\": \"{{dateTo}}\",\r\n  \"gapFillingBehaviour\": \"FillWithZero\",\r\n  \"tenantId\": \"{{tenantId}}\",\r\n  \"unitIds\": [\"{{unitId}}\"],\r\n  \"regions\": \"\",\r\n  \"branches\": \"\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-statistics/max/escalator/status/count?api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-statistics",
                "max",
                "escalator",
                "status",
                "count"
              ],
              "query": [
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Escalator Sensor Data API (groups 2,3,4)",
      "item": [
        {
          "name": "Get brakes current",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//brakesCurrent?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "brakesCurrent"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": null,
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get brakes temperature",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//brakesTemperature?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "brakesTemperature"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get brakes voltage",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//brakesVoltage?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "brakesVoltage"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get current consumption",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//currentConsumption?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "currentConsumption"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get distance to handrail drive wheel (left/right)",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//handrailDriveWheelDistance?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "handrailDriveWheelDistance"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get energy consumption",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//energyConsumption?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "energyConsumption"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get handrail speed",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//handrailSpeed?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "handrailSpeed"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get humidity at the pit",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}/humidityAtPit?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "humidityAtPit"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get main shaft speed",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}/mainShaftSpeed?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "mainShaftSpeed"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get motor and main shaft vibrations",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//motorAndMainShaftVibrations?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "motorAndMainShaftVibrations"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get motor speed",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//motorSpeed?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "motorSpeed"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get noise at top pit",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}/noiseAtTopPit?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "noiseAtTopPit"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get power consumption",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//powerConsumption?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "powerConsumption"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get temperature at handrail newel (top left/right and bottom left/right)",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//handrailNewelTemperature?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "handrailNewelTemperature"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the distance to the step band tensor station (left/right)",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//stepBandTensorStationDistance?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "stepBandTensorStationDistance"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the stopping distance",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//stoppingDistance?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "stoppingDistance"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the temperature at the pit (top/bottom)",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//pitTemperature?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "pitTemperature"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get voltage at phase L3",
          "protocolProfileBehavior": {
            "disableBodyPruning": true,
            "disabledSystemHeaders": {}
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{access_token}}",
                "type": "text"
              },
              {
                "key": "Ocp-Apim-Subscription-Key",
                "value": "{{subscription_key_max_op_statistical_data}}",
                "description": "Find this variable in the collection",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{environment}}/escalator-sensor-data/{{tenantId}}/{{unitId}}//voltageAtPhase?fromUtcTime={{dateFrom}}&toUtcTime={{dateTo}}&Aggregation=&api-version={{api-version}}",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "escalator-sensor-data",
                "{{tenantId}}",
                "{{unitId}}",
                "",
                "voltageAtPhase"
              ],
              "query": [
                {
                  "key": "fromUtcTime",
                  "value": "{{dateFrom}}"
                },
                {
                  "key": "toUtcTime",
                  "value": "{{dateTo}}"
                },
                {
                  "key": "Aggregation",
                  "value": "",
                  "description": "null=five minutes interval, Hour, Day, Week"
                },
                {
                  "key": "api-version",
                  "value": "{{api-version}}"
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "environment",
      "value": "https://api.ea.tkelevator.com",
      "description": "Use one of the following values for production\nhttps://api.ams.tkelevator.com\nhttps://api.ea.tkelevator.com\nhttps://api.ap.tkelevator.com\nFor tests environment, use:\nhttps://max-customerapi-stable.azure-api.net/"
    },
    {
      "key": "api-version",
      "value": "3.0",
      "description": "API version. 2.0 or 3.0"
    },
    {
      "key": "tenantId",
      "value": "",
      "description": "Country code. Ex: US, GE, FR"
    },
    {
      "key": "unitId",
      "value": "",
      "description": "used for filter especific device. You can get this ID from Equipment API - Get List (unitId)"
    },
    {
      "key": "deviceId",
      "value": "",
      "description": "used for filter especific device. You can get this ID from Equipment API - Get List (deviceId)"
    },
    {
      "key": "access_token",
      "value": "",
      "description": "Not needed—it’s generated automatically"
    },
    {
      "key": "CallcorrelationId",
      "value": "",
      "description": "Not needed—it’s generated automatically"
    },
    {
      "key": "dateFrom",
      "value": "2025-09-01",
      "description": "Used to filter the Statistics API"
    },
    {
      "key": "dateTo",
      "value": "2025-12-30",
      "description": "Used to filter the Statistics API"
    },
    {
      "key": "auth_client_id",
      "value": "74c72ab2-3ade-45fe-83e0-cd5b90704539",
      "description": "Please check with the TKE team"
    },
    {
      "key": "auth_scope",
      "value": "https://maxcustomerportal.onmicrosoft.com/8dd798e8-2cb3-434e-955a-8f47af82dd2b/api",
      "description": "Please check with the TKE team for you region"
    },
    {
      "key": "auth_username",
      "value": "",
      "description": "your developer portal user/email"
    },
    {
      "key": "auth_password",
      "value": "",
      "description": "your developer portal user password"
    },
    {
      "key": "subscription_key_equipment_service_data",
      "value": "",
      "description": "Your subscription key is available in the Developer Portal, under the Profile section. Please confirm if you have access to this product."
    },
    {
      "key": "subscription_key_max_op_statistical_data",
      "value": "",
      "description": "Your subscription key is available in the Developer Portal, under the Profile section. Please confirm if you have access to this product."
    },
    {
      "key": "subscription_key_max_elevator_calls_app",
      "value": "",
      "description": "Your subscription key is available in the Developer Portal, under the Profile section. Please confirm if you have access to this product."
    },
    {
      "key": "subscription_key_max_robot_integration",
      "value": "",
      "description": "Your subscription key is available in the Developer Portal, under the Profile section. Please confirm if you have access to this product."
    },
    {
      "key": "buildingId",
      "value": ""
    },
    {
      "key": "branchNumber",
      "value": ""
    },
    {
      "key": "contractNumber",
      "value": ""
    },
    {
      "key": "cultureName",
      "value": ""
    }
  ]
}